
[up_sect_firsta_hpsa]
cost                                     = 1280
value                                    = +10
rpm                                      = +23
inv_weight                               = +0.04

[up_sect_firstc_hpsa]
cost                                     = 1420
value                                    = +20
bullet_speed                             = +77
fire_distance                            = +50
fire_dispersion_base                     = -0.01
inv_weight                               = +0.1

[up_sect_firstd_hpsa]
cost                                     = 1580
value                                    = -10
cam_dispersion                           = -0.068 
cam_dispersion_inc                       = 0.0 ;-0.073 
cam_step_angle_horz                      = -0.086 
inv_weight                               = +0.04

[up_sect_firste_hpsa]
cost                                     = 1720
value                                    = -10
cam_dispersion                           = -0.068 
cam_dispersion_inc                       = 0.0 ;-0.073 
cam_step_angle_horz                      = -0.086 
inv_weight                               = -0.07

[up_sect_secona_hpsa]
cost                                     = 1340
value                                    = +10
bullet_speed                             = +38

[up_sect_seconc_hpsa]
cost                                     = 1730
value                                    = +15

condition_shot_dec                       = -0.0004
condition_queue_shot_dec                 = -0.0004
misfire_start_prob                       = -0.002
misfire_end_prob                         = -0.02
inv_weight                               = +0.1

[up_sect_secone_hpsa]
cost                                     = 1820
value                                    = +25
rpm                                      = +60
inv_weight                               = +0.08

[up_sect_seconf_hpsa]
cost                                     = 1790
value                                    = +30
bullet_speed                             = +115
fire_distance                            = +80
fire_dispersion_base                     = -0.02
inv_weight                               = +0.14

[up_sect_thirda_hpsa]
cost                                     = 1120
value                                    = -0.34
inv_weight                               = -0.34
crosshair_inertion                       = -0.3
PDM_disp_base                            = -0.05
PDM_disp_vel_factor                      = -0.1
PDM_disp_accel_factor                    = -0.1

[up_sect_thirdc_hpsa]
cost                                     = 1720
value                                    = +15
crosshair_inertion                       = -0.6
PDM_disp_base                            = -0.1
PDM_disp_vel_factor                      = -0.3
PDM_disp_accel_factor                    = -0.3

[up_sect_thirdd_hpsa]
cost                                     = 1630
value                                    = -10
cam_dispersion                           = -0.068 
cam_dispersion_inc                       = 0.0 ;-0.073 
cam_step_angle_horz                      = -0.086 
inv_weight                               = -0.07

[up_sect_fourta_hpsa]
cost                                     = 1360
value                                    = +10
fire_dispersion_base                     = -0.06


[up_sect_fourtc_hpsa]
cost                                     = 1590
value                                    = +15

condition_shot_dec                       = -0.0004
condition_queue_shot_dec                 = -0.0004
misfire_start_prob                       = -0.002
misfire_end_prob                         = -0.02
inv_weight                               = +0.14

[up_sect_fourte_hpsa]
cost                                     = 1740
value                                    = +25
crosshair_inertion                       = -1
PDM_disp_base                            = -0.2
PDM_disp_vel_factor                      = -0.3
PDM_disp_accel_factor                    = -0.3
inv_weight                               = +0.1

[up_sect_fiftha_hpsa]
cost                                     = 1380

silencer_status                          = 2
silencer_name                            = wpn_addon_silencer 
silencer_x                               = 71 
silencer_y                               = -16
snd_silncer_shot                         = weapons\hpsa\hpsa_shot_sil
inv_weight                               = +0.07

[up_sect_fifthc_hpsa]
cost                                     = 2260
value                                    = "9x18"
ammo_class                               = ammo_9x18_fmj,ammo_9x18_pmm


condition_shot_dec                       = +0.00014
condition_queue_shot_dec                 = +0.00014
misfire_start_prob                       = 0.0008
misfire_end_prob                         = 0.008 




;----------------------------------------------------------------------------------------------------------------------
[up_firsta_hpsa]
scheme_index                             = 0, 0
known                                    = 1
effects                                  = up_gr_firstcd_hpsa
section                                  = up_sect_firsta_hpsa
property                                 = prop_rpm
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = on_weapon_upgrade_something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zatp_a1_name
description                              = st_up_zatp_a1_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_1


[up_firstc_hpsa]
scheme_index                             = 1, 0
known                                    = 1
effects                                  = up_gr_firstef_hpsa
section                                  = up_sect_firstc_hpsa
property                                 = prop_bullet_speed
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zatp_b4_name
description                              = st_up_zatp_b4_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_2

[up_firstd_hpsa]
scheme_index                             = 1, 1
known                                    = 1
effects                                  = up_gr_firstef_hpsa
section                                  = up_sect_firstd_hpsa
property                                 = prop_recoil
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zatp_b2_name
description                              = st_up_zatp_b2_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_3

[up_firste_hpsa]
scheme_index                             = 2, 0
known                                    = 1
effects                                  =
section                                  = up_sect_firste_hpsa
property                                 = prop_recoil
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_zatp_c5_name
description                              = st_up_zatp_c5_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_4


[up_secona_hpsa]
scheme_index                             = 0, 1
known                                    = 1
effects                                  = up_gr_seconcd_hpsa
section                                  = up_sect_secona_hpsa
property                                 = prop_bullet_speed
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_barp_a1_name
description                              = st_up_barp_a1_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_5

[up_seconc_hpsa]
scheme_index                             = 1, 2
known                                    = 1
effects                                  = up_gr_seconef_hpsa
section                                  = up_sect_seconc_hpsa
property                                 = prop_reliability
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_barp_b1_name
description                              = st_up_barp_b1_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_6

[up_secone_hpsa]
scheme_index                             = 2, 1
known                                    = 1
effects                                  =
section                                  = up_sect_secone_hpsa
property                                 = prop_rpm
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_barp_c1_name
description                              = st_up_barp_c1_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_7

[up_seconf_hpsa]
scheme_index                             = 2, 2
known                                    = 1
effects                                  =
section                                  = up_sect_seconf_hpsa
property                                 = prop_bullet_speed
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_barp_c2_name
description                              = st_up_barp_c2_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_8


[up_thirda_hpsa]
scheme_index                             = 0, 2
known                                    = 1
effects                                  = up_gr_thirdcd_hpsa
section                                  = up_sect_thirda_hpsa
property                                 = prop_weight
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_stvp_b1_name
description                              = st_up_stvp_b1_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_9

[up_thirdc_hpsa]
scheme_index                             = 1, 3
known                                    = 1
effects                                  =
section                                  = up_sect_thirdc_hpsa
property                                 = prop_inertion
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_stvp_b2_name
description                              = st_up_stvp_b2_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_10

[up_thirdd_hpsa]
scheme_index                             = 1, 4
known                                    = 1
effects                                  =
section                                  = up_sect_thirdd_hpsa
property                                 = prop_recoil
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_stvp_b3_name
description                              = st_up_stvp_b3_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_11

[up_fourta_hpsa]
scheme_index                             = 0, 3
known                                    = 1
effects                                  = up_gr_fourtcd_hpsa
section                                  = up_sect_fourta_hpsa
property                                 = prop_dispersion
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_usmp_a1_name
description                              = st_up_usmp_a1_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_12


[up_fourtc_hpsa]
scheme_index                             = 1, 5
known                                    = 1
effects                                  = up_gr_fourtef_hpsa
section                                  = up_sect_fourtc_hpsa
property                                 = prop_reliability
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_usmp_b5_name
description                              = st_up_usmp_b5_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_13

[up_fourte_hpsa]
scheme_index                             = 2, 3
known                                    = 1
effects                                  =
section                                  = up_sect_fourte_hpsa
property                                 = prop_inertion
precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here
prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_usmp_c2_name
description                              = st_up_usmp_c2_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_14


[up_fiftha_hpsa]
scheme_index                             = 0, 4
known                                    = 1
effects                                  = up_gr_fifthcd_hpsa
section                                  = up_sect_fiftha_hpsa
property                                 = prop_silencer

precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_add_a1_name
description                              = st_up_add_a1_descr
icon                                     = ui_inGame2_upgrade_Marta_14

[up_fifthc_hpsa]
scheme_index                             = 1, 6
known                                    = 1
effects                                  =
section                                  = up_sect_fifthc_hpsa
property                                 = prop_calibre

precondition_functor                     = inventory_upgrades.precondition_functor_a
precondition_parameter                   = a & b
effect_functor                           = inventory_upgrades.effect_functor_a
effect_parameter                         = something_here

prereq_functor                           = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor                   = inventory_upgrades.prereq_tooltip_functor_a
prereq_params                            =
name                                     = st_up_add_b3_name
description                              = st_up_add_b3_descr
icon                                     = ui_inGame2_upgrade_HPSS_1m_16



;----------------------------------------------------------------------------------------------------------------------
[up_gr_firstab_hpsa]
elements                                 = up_firsta_hpsa

[up_gr_firstcd_hpsa]
elements                                 = up_firstc_hpsa, up_firstd_hpsa

[up_gr_firstef_hpsa]
elements                                 = up_firste_hpsa

[up_gr_seconab_hpsa]
elements                                 = up_secona_hpsa

[up_gr_seconcd_hpsa]
elements                                 = up_seconc_hpsa

[up_gr_seconef_hpsa]
elements                                 = up_secone_hpsa, up_seconf_hpsa

[up_gr_thirdab_hpsa]
elements                                 = up_thirda_hpsa

[up_gr_thirdcd_hpsa]
elements                                 = up_thirdc_hpsa, up_thirdd_hpsa

[up_gr_fourtab_hpsa]
elements                                 = up_fourta_hpsa

[up_gr_fourtcd_hpsa]
elements                                 = up_fourtc_hpsa

[up_gr_fourtef_hpsa]
elements                                 = up_fourte_hpsa

[up_gr_fifthab_hpsa]
elements                                 = up_fiftha_hpsa

[up_gr_fifthcd_hpsa]
elements                                 = up_fifthc_hpsa
